package com.yannuo.pojo;

import java.util.Date;

public class Emp {

    private Integer empno1;
    private String ename1;
    private String job1;
    private Integer mgr1;
    private Date hiredate1;
    private double salary1;
    private double comm1;
    private Integer deptno1;
    private Dept dept;

    private SalGrade salGrade;

    public Emp() {
    }

    public Emp(Integer empno1, String ename1, String job1, Integer mgr1, Date hiredate1, double salary1, double comm1, Integer deptno1, Dept dept, SalGrade salGrade) {
        this.empno1 = empno1;
        this.ename1 = ename1;
        this.job1 = job1;
        this.mgr1 = mgr1;
        this.hiredate1 = hiredate1;
        this.salary1 = salary1;
        this.comm1 = comm1;
        this.deptno1 = deptno1;
        this.dept = dept;
        this.salGrade = salGrade;
    }

    public Integer getEmpno1() {
        return empno1;
    }

    public void setEmpno1(Integer empno1) {
        this.empno1 = empno1;
    }

    public String getEname1() {
        return ename1;
    }

    public void setEname1(String ename1) {
        this.ename1 = ename1;
    }

    public String getJob1() {
        return job1;
    }

    public void setJob1(String job1) {
        this.job1 = job1;
    }

    public Integer getMgr1() {
        return mgr1;
    }

    public void setMgr1(Integer mgr1) {
        this.mgr1 = mgr1;
    }

    public Date getHiredate1() {
        return hiredate1;
    }

    public void setHiredate1(Date hiredate1) {
        this.hiredate1 = hiredate1;
    }

    public double getSalary1() {
        return salary1;
    }

    public void setSalary1(double salary1) {
        this.salary1 = salary1;
    }

    public double getComm1() {
        return comm1;
    }

    public void setComm1(double comm1) {
        this.comm1 = comm1;
    }

    public Integer getDeptno1() {
        return deptno1;
    }

    public void setDeptno1(Integer deptno1) {
        this.deptno1 = deptno1;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public SalGrade getSalGrade() {
        return salGrade;
    }

    public void setSalGrade(SalGrade salGrade) {
        this.salGrade = salGrade;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "empno1=" + empno1 +
                ", ename1='" + ename1 + '\'' +
                ", job1='" + job1 + '\'' +
                ", mgr1=" + mgr1 +
                ", hiredate1=" + hiredate1 +
                ", salary1=" + salary1 +
                ", comm1=" + comm1 +
                ", deptno1=" + deptno1 +
                ", dept=" + dept +
                ", salGrade=" + salGrade +
                '}';
    }
}
